package com.wzw.springcloud.consumer.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Collections;
import java.util.Map;

/**
 * @author Wangzhiwen
 */
@RestController
@RequestMapping("/local")
public class ConsumerController {

    @GetMapping("/test1")
    public Map<String, Object> test1() {
        return Collections.singletonMap("success", 1);
    }

}
